package com.Listener;

import com.hhh.JedisPoolUtils;

import redis.clients.jedis.Jedis;

public class Puublishh {
	public static void main(String[] args) {
		Jedis jedis=JedisPoolUtils.getJedis();
//		jedis.set("message", "欢迎订阅");
		jedis.subscribe(new RedisSubcribe(), "message");
	}
}
